<div class="layui-fluid">
    <div class="layui-card">
      <div class="layui-card-body">
        <form class="layui-form" action="<?=url('patchcat/add');?>">

            <div class="layui-form-item">
              <label class="layui-form-label">标题</label>
              <div class="layui-input-block">
                <input type="text" name="cat_title" required lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">uuid</label>
              <div class="layui-input-block">
                  <input type="text" name="uuid" required lay-verify="required" placeholder="请输入uuid" autocomplete="off" class="layui-input">
              </div>
            </div>
            <!-- <div class="layui-form-item">
              <label class="layui-form-label">排序</label>
              <div class="layui-input-block">
                  <input type="text" name="sort" value="0" lay-verify="required" placeholder="请输入排序" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">图片数量</label>
              <div class="layui-input-block">
                  <input type="text" name="img_num" value="0" lay-verify="required" placeholder="请输入图片数量" autocomplete="off" class="layui-input">
              </div>
            </div>
            <div class="layui-form-item">
              <label class="layui-form-label">文字数量</label>
              <div class="layui-input-block">
                  <input type="text" name="word_num" value="0" lay-verify="required" placeholder="请输入文字数量" autocomplete="off" class="layui-input">
              </div>
            </div> -->
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="myform">立即提交</button>
              <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
      </div>
    </div>
</div>
<script>
layui.use(['form'], function(){
  var $ = layui.$
  ,form = layui.form;
  form.render();

  var ue = UE.getEditor('container');
});
</script>
